package com.kuwou.workobject.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kuwou.workobject.pojo.entity.Channel;
import com.kuwou.workobject.mapper.ChannelMapper;
import com.kuwou.workobject.service.ChannelService;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

@RequiredArgsConstructor
@Service
public class ChannelServiceImpl  extends ServiceImpl<ChannelMapper, Channel> implements ChannelService {


    private final @Lazy ChannelMapper channelMapper;

    @Override
    public void truncateTable() {
        channelMapper.truncateTable();
    }
}
